@import 'uview-ui/theme.scss';

/*  -- flex弹性布局 -- */


.f {
	display: flex;
}

.fd-c {
	flex-direction: column;
}

.fw-w {
	flex-wrap: wrap;
}

.ai-fs {
	align-items: flex-start;
}

.ai-fe {
	align-items: flex-end;
}

.ai-c {
	align-items: center;
}

.ai-s {
	align-items: stretch;
}


.as-fs {
	align-self: flex-start;
}

.as-fc {
	align-self: flex-center;
}

.as-fe {
	align-self: flex-end;
}

.as-s {
	display: flex;
	align-self: stretch;
}


.jc-fs {
	justify-content: flex-start;
}

.jc-fe {
	justify-content: flex-end;
}

.jc-c {
	justify-content: center;
}

.jc-sb {
	justify-content: space-between;
}

.jc-sa {
	justify-content: space-around;
}

// 单行省略
.t-o-e {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

//两行省略
.w-l-c {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

button {
	background-color: transparent;
	border: none;
	color: inherit;
	font: inherit;
	line-height: normal;
	overflow: visible;
	outline: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	text-align: left;
}

button::after {
	border: none;
}